package com.ml.mall.entity.company;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "sys_company_bank")
public class SysCompanyBank implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    @TableField(value = "create_at",fill = FieldFill.INSERT)
    private Date createAt;

    /**
     * 更新时间
     */
    @TableField(value = "update_at",fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;

    /**
     * 是否删除
     */
    @TableLogic
    @TableField(value = "is_delete",fill = FieldFill.INSERT)
    private Integer isDelete;

    /**
     * 银行卡名称
     */
    @TableField(value = "bank_name")
    private String bankName;

    /**
     * 银行卡编码
     */
    @TableField(value = "bank_code")
    private String bankCode;

    /**
     * 银行卡swfit
     */
    @TableField(value = "bank_swfit")
    private String bankSwfit;

    /**
     * 银行卡号
     */
    @TableField(value = "bank_account_number")
    private Long bankAccountNumber;

    /**
     * 状态
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 持卡人
     */
    @TableField(value = "holder_name")
    private String holderName;

    /**
     * 公司ID
     */
    @TableField(value = "company_id")
    private Long companyId;

    private static final long serialVersionUID = 1L;
}